#ifndef CLIPPING_PLANE_H
#define CLIPPING_PLANE_H

#include "OpenGL.hpp"
#include "SuperData.h"


class ClippingPlane
{
private:

	GameRectangle m_ClippingPlane;

public:
	ClippingPlane();

	bool IsInPlane(const GameRectangle& rect);
	bool IsInPlane(const SDL_Rect& rect);

	void Translate(int x, int y);

	int GetX() const {return m_ClippingPlane.x;}
	int GetY() const {return m_ClippingPlane.y;}

	void SetX(int val);
	void SetY(int val);

	int GetWidth() const {return m_ClippingPlane.width;}
	int GetHeight() const {return m_ClippingPlane.height;}

	GameRectangle Plane() const {return m_ClippingPlane;}
};


#endif